package com.jumi.microservice.entity;

import com.baomidou.mybatisplus.annotation.*;
import java.util.Date;

/**
 * @author by  mazhao
 * @Date 2020-10-22 
 */

@TableName("user_shopping_cart")
public class UserShoppingCart {

	/**
	 * ID
	 */
   @TableId(value = "id",type = IdType.AUTO)
	private Integer id;

	/**
	 * 用户ID
	 */
	private Long uid;

	/**
	 * 商品ID
	 */
	private Integer goodsId;

	/**
	 * 数量
	 */
	private Integer amount;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 更新时间
	 */
	private Date updateTime;

	/**
	 * 删除标识
	 */
	private Byte delFlag;

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Long getUid() {
		return this.uid;
	}

	public void setUid(Long uid) {
		this.uid = uid;
	}

	public Integer getGoodsId() {
		return this.goodsId;
	}

	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}

	public Integer getAmount() {
		return this.amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Byte getDelFlag() {
		return this.delFlag;
	}

	public void setDelFlag(Byte delFlag) {
		this.delFlag = delFlag;
	}

}
